<HTML><HEAD><TITLE>xml_subterm(+XMLTerm, ?Subterm)</TITLE>
</HEAD><BODY>[ <A HREF="index.html">library(xml)</A> | <A HREF="../../index.html">Reference Manual</A> | <A HREF="../../fullindex.html">Alphabetic Index</A> ]
<H1>xml_subterm(+XMLTerm, ?Subterm)</H1>
Unifies Subterm with a sub-term of Term.
<DL>
<DT><EM>XMLTerm</EM></DT>
<DD>Structured term
</DD>
<DT><EM>Subterm</EM></DT>
<DD>Structured term
</DD>
</DL>
<H2>Description</H2>

    This can be especially useful when trying to test or retrieve a
    deeply-nested subterm from a document - as demonstrated in this
    <a href="http://www.binding-time.co.uk/xml_example.html">example
    program</a>.  Note that <code>XMLTerm</code> is a sub-term of itself.
<H2>See Also</H2>
<A HREF="../../lib_public/xml/xml_parse-2.html">xml_parse / 2</A>, <A HREF="../../lib_public/xml/xml_parse-3.html">xml_parse / 3</A>, <A HREF="../../lib_public/xml/xml_pp-1.html">xml_pp / 1</A>
</BODY></HTML>
